package com.authine.cloudpivot.ext.enums;

public enum ZzdEventTag {

    ORG_addOrUpdateOrg("增加/更新组织", "MOZI_VDS_TENANT_CHANGE|ORGANIZATION_ADD_UPDATE"),
    ORG_modifyParentOrg("组织变更父组织", "MOZI_VDS_TENANT_CHANGE|ORGANIZATION_PARENT_CHANGED"),
    ORG_deleteOrg("删除组织", "MOZI_VDS_TENANT_CHANGE|ORGANIZATION_REMOVE"),
    USER_addOrUpdateUser("增加/更新员工", "MOZI_VDS_TENANT_CHANGE|EMPLOYEE_ADD_UPDATE"),
    USER_deleteUser("删除员工", "MOZI_VDS_TENANT_CHANGE|EMPLOYEE_LEAVE"),
    USER_orgRelatedUser("组织关联员工", "MOZI_VDS_TENANT_CHANGE|ORGANIZATION_ATTACH_EMPLOYEE"),
    USER_orgCancelRelatedUser("组织取关员工", "MOZI_VDS_TENANT_CHANGE|ORGANIZATION_DETACH_EMPLOYEE");

    private final String name;

    private final String value;

    ZzdEventTag(String name, String value) {
        this.name = name;
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public String getValue() {
        return value;
    }
}
